-- GENERATED SPELL FOR [Gnawbone] --


function spell0_14425(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(11977,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14425', 15000, 1)
end

function Sorts_14425(pUnit, Event)
local choix_sorts_14425 = math.random(0, 0)
if choix_sorts_14425 == 0 then
pUnit:RegisterEvent('spell0_14425', 1, 1)
end
end

function mob14425_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14425', math.random(1500, 3000), 1)
end

function mob14425_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14425_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14425_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14425, 1, 'mob14425_Action')
RegisterUnitEvent(14425, 2, 'mob14425_Leave')
RegisterUnitEvent(14425, 3, 'mob14425_Kill')
RegisterUnitEvent(14425, 4, 'mob14425_Die')
